package cn.john.org.service;

import cn.john.basic.service.IBaseService;
import cn.john.org.domain.Department;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
    /* 1.通过继承定义基础接口 */

    /* 2.扩展的接口额外写 */
    /**
     * 查询部门树
     * @return
     */
    List<Department> getDeptTree();
}
